package com.company;

import java.math.BigDecimal;
import java.util.List;

/*
活动类
 */

public class Event {
    private String type;//活动类型，mj为满减，zk为折扣，可设置其他类型
    private BigDecimal amount = new BigDecimal(0);//满减活动前价格
    private BigDecimal subAmount = new BigDecimal(0);//满减价格
    private BigDecimal disCount = new BigDecimal(1);//折扣值，框架中可在此校验0-1之间

    public String getFruitNames() {
        return fruitNames;
    }


    public void setFruitNames(String fruitNames) {
        this.fruitNames = fruitNames;
    }

    private String fruitNames;//参与折扣品种

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getSubAmount() {
        return subAmount;
    }

    public void setSubAmount(BigDecimal subAmount) {
        this.subAmount = subAmount;
    }

    public BigDecimal getDisCount() {
        return disCount;
    }

    public void setDisCount(BigDecimal disCount) {
        this.disCount = disCount;
    }

}
